package com.pig4cloud.pig.module.api.entity.raffle;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 raffle_user_record
 *
 * @author ruoyi
 * @date 2021-08-29
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("raffle_user_record")
public class RaffleUserRecord implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * $column.columnComment
     */
    private Integer raffleId;

    /**
     * $column.columnComment
     */
    private Integer userId;

    /**
     * $column.columnComment
     */
    private String recordNo;

    /**
     * $column.columnComment
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * $column.columnComment
     */
    private Integer goodsId;

    /**
     * $column.columnComment
     */
    private Integer isWin;



	@TableField(exist = false)
	private String goodsName;

    @TableField(exist = false)
	private String nickName;

    @TableField(exist = false)
	private String faceUrl;

}
